package com.opencloud.iot.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市信息
 * @author yeyong
 */
@TableName("iot_raspi_bind")
public class IotRaspiBind implements Serializable {

        private static final long serialVersionUID= -964202352621690483L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        private String mac;

        private Integer cid;

        private String cname;

        private Integer gid;

        private String gname;

        private Integer status;

        private Date ctime;

        private Date utime;


        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getMac() {
        return mac;
        }

        public void setMac(String mac) {
        this.mac = mac;
        }

        public Integer getCid() {
                return cid;
                }

        public void setCid(Integer cid) {
                this.cid = cid;
                    }

        public String getCname() {
            return cname;
        }

        public void setCname(String cname) {
            this.cname = cname;
            }

        public String getGname() {
            return gname;
        }

        public void setGname(String gname) {
            this.gname = gname;
        }

        public Integer getGid() {
            return gid;
        }

        public void setGid(Integer gid) {
            this.gid = gid;
        }

        public Integer getStatus() {
                return status;
                }

        public void setStatus(Integer status) {
                this.status = status;
                }

        public Date getCtime() {
                return ctime;
                }

        public void setCtime(Date ctime) {
                this.ctime = ctime;
                    }

        public Date getUtime() {
            return utime;
        }

        public void setUtime(Date utime) {
            this.utime = utime;
        }

        @Override
        public String toString() {
                return "IotRaspiBind{" +
                        "id=" + id +
                        ", mac=" + mac +
                        ", cid=" + cid +
                        ", status=" + status +
                        ", ctime=" + ctime +
                        ", cname=" + cname +
                        ", gid=" + gid +
                        ", gname=" + gname +
                        ", utime=" + utime +
                "}";
        }
}
